package models

type User struct {
	Uid int `gorm:"column:uid;primaryKey"`
	Phone string `gorm:"column:phone"`
	Nickname string `gorm:"column:nickname"`
	Avatar string `gorm:"column:avatar"`
	Status int `gorm:"column:status"`
	Sex int `gorm:"column:sex"`
	Age int `gorm:"column:age"`
	Role int `gorm:"column:role"`
	Password string `gorm:"column:password"`
	Ctime string `gorm:"column:ctime"`
	Utime string `gorm:"column:utime"`
}

func (*User) TableName() string {
	return "table_users"
}

